package com.fly.springbootTemplate.service;

import com.fly.springbootTemplate.entity.StudentClass;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StudentClassService {
    //增加班级
    public boolean addClass(StudentClass studentClass);
    //删除班级
    public boolean deleteClass(String classId);
    //更新班级
    public boolean updateClass(StudentClass studentClass);
    //查询班级
    List<StudentClass> getAllClass();
    //根据id查询班级
    public StudentClass getClassById(String classId);

}
